home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / graphics.17 / graphics / graphics-0.17 / tek2plot / ts.c < prev   
Encoding:
C/C++ Source or Header  |  1991-03-12  |  422 b   |  34 lines

  1. #include "sys-defines.h"
  2. #include "plot3.h"
  3.  
  4. int
  5. main (argc, argv)
  6.      int argc;
  7.      char *argv[];
  8. {
  9.   int x,y,r;
  10.   openpl();
  11.   erase ();
  12.  
  13.   fill (0xFFFF);
  14.   move (20,20);
  15.   cont (20,700);
  16.   cont (700,700);
  17.   cont (700,20);
  18.   cont (20,20);
  19.   move (100,100);
  20.   fill (0);
  21.  
  22.   label ("hi there ");
  23.   label ("xxxxxxxx");
  24.  
  25.   circle (300,300,200);
  26.  
  27.   x=200; y=300; r=40;
  28.   arc (x,y,x,y+r,x-r,y);
  29.   
  30.  
  31.   closepl();
  32.   return 0;
  33. }
  34.